﻿using Dora.Orm.Core.Domain.Entities;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Services.AdminUser.Entities
{
    /// <summary>
    /// 旅行社组织机构用户映射表实体对象
    /// </summary>
    [SugarTable("tas_org_user_map")]
    public class TasOrgUserMapEntity : Entity<Guid>
    {
        #region model

        /// <summary>
        /// 环信用户名 系统id_Id
        /// </summary>
        public string HxUserName { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 机构Id
        /// </summary>
        public int OrgId { get; set; }

        /// <summary>
        /// 微信OpenID
        /// </summary>
        public string WXOpenId { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public short IsDisabled { get; set; }

        /// <summary>
        /// 是否冻结
        /// </summary>
        public short IsFrozen { get; set; }

        /// <summary>
        /// 是否是所在机构管理员
        /// </summary>
        public int IsAdmin { get; set; }

        /// <summary>
        /// 是否是所在负责人
        /// </summary>
        public int IsLeader { get; set; }

        /// <summary>
        /// 是否需要编辑出团通知书
        /// </summary>
        public bool IsEditDepartureNotice { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string JobNumber { get; set; }

        #endregion
        #region extend
        #endregion
    }
}
